import request from '@/utils/request'

// 获取token
export function wxGetToken(code) {
	return request({
		url: '/wx/getToken/' + code,
		method: 'get',
		headers: {
			isToken: false
		}
	})
}

// 登录
export function wxLogin(loginVo) {
	return request({
		url: '/wx/login',
		method: 'get',
		headers: {
			isToken: false
		},
		params: loginVo
	})
}